IsMenuItemIconEnabled
Reports whether a given menu item icon is enabled.
pascal Boolean IsMenuItemIconEnabled (
MenuHandle menu,
UInt16 item);
-
menu
-
A value of type
MenuHandle
. Pass a handle to the menu containing the icon to be examined.
-
item
-
An unsigned 16-bit integer. Pass a value specifying the item number of the menu item containing the icon.
-
function result
-
A value of type
Boolean
. The function returns
true
if the menu item icon is currently enabled; otherwise,
false
.
DISCUSSION
Your application can use the
IsMenuItemIconEnabled
function to determine whether a specific menu item's icon is currently enabled or dimmed.
VERSION NOTES
Available with Mac OS 8.5 and later.
© 1999 Apple Computer, Inc. — (Last Updated 19 Jan 99) Previous | Back Up One Level | Next |